package cn.hxlc.tie.demo.modular.work.service;/*
 @author rui
 @date 2021/6/21 --19:01
*/

import cn.hxlc.tie.demo.core.enums.StatusEnum;
import cn.hxlc.tie.demo.modular.work.entity.WorkShop;
import cn.hxlc.tie.demo.modular.work.model.param.WorkShopParam;
import cn.hxlc.tie.demo.modular.work.model.result.WorkShopResult;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface WorkShopService extends IService<WorkShop> {

    PageResult<WorkShopResult> queryListPage(WorkShopParam workShopParam);


    int add(WorkShopParam workShopParam);

    Boolean batchDelete(List<Integer> ids);

    WorkShopResult findByOne(Long fid);

    Boolean updateOne(WorkShopParam workShopParam);

    void batch(Object[] fid, StatusEnum toEnum);

    Boolean delete(WorkShopParam workShopParam);
}
